/*
* Copyright © 2018 Union Mobile Financial Technology Co.Ltd
* All Rights Reserved
* @Description: TODO(功能描述)
* @author lile 
* @date 2018年8月8日 下午3:58:04
*
*/ 
package com.umpay.dto.merAccess.req.payment;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
***********************************************************
* @ClassName: PaymentCodePayAccessReq
* @Description: 扫码-用户被扫-支付宝条码支付、微信刷卡支付dto
* @author lile
* @date 2018年8月8日 下午3:58:04
* @version 1.0 
*
* Modification History:
* Date         Author          Version            Description
*---------------------------------------------------------*
* 2018年8月8日     lile           v1.0.0               修改原因
************************************************************
*/
public class PaymentCodePayAccessReq extends CommonReq {
	
	@NotEmpty
	@Pattern
	private String notify_url;
	
	@Pattern
	private String ret_url;
	
	@NotEmpty
	@Pattern
	private String mer_trace;
	
	@NotEmpty
	@Pattern
	private String trade_no;
	
	@NotEmpty
	@Pattern
	private String pay_type;
	
	@NotEmpty
	@Pattern
	private String auth_code;
	
	@NotEmpty
	@Pattern
	private String amount;
	
	@Pattern
	private String subject;
	
	@Pattern
	private String remark;
	
	@Pattern
	@NotEmpty
	private String goods_id;
	
	@Pattern
	@NotEmpty
	private String goods_inf;
	
	@Pattern
	private String store_id;
	
	@Pattern
	private String operator_id;
	
	@Pattern
	private String discountable_amount;
	
	@Pattern
	private String undiscountable_amount;

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public String getRet_url() {
		return ret_url;
	}

	public void setRet_url(String ret_url) {
		this.ret_url = ret_url;
	}

	public String getMer_trace() {
		return mer_trace;
	}

	public void setMer_trace(String mer_trace) {
		this.mer_trace = mer_trace;
	}

	public String getTrade_no() {
		return trade_no;
	}

	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}

	public String getPay_type() {
		return pay_type;
	}

	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}

	public String getAuth_code() {
		return auth_code;
	}

	public void setAuth_code(String auth_code) {
		this.auth_code = auth_code;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getGoods_id() {
		return goods_id;
	}

	public void setGoods_id(String goods_id) {
		this.goods_id = goods_id;
	}

	public String getGoods_inf() {
		return goods_inf;
	}

	public void setGoods_inf(String goods_inf) {
		this.goods_inf = goods_inf;
	}

	public String getStore_id() {
		return store_id;
	}

	public void setStore_id(String store_id) {
		this.store_id = store_id;
	}

	public String getOperator_id() {
		return operator_id;
	}

	public void setOperator_id(String operator_id) {
		this.operator_id = operator_id;
	}

	public String getDiscountable_amount() {
		return discountable_amount;
	}

	public void setDiscountable_amount(String discountable_amount) {
		this.discountable_amount = discountable_amount;
	}

	public String getUndiscountable_amount() {
		return undiscountable_amount;
	}

	public void setUndiscountable_amount(String undiscountable_amount) {
		this.undiscountable_amount = undiscountable_amount;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("PaymentCodePayAccessReq [notify_url=");
		builder.append(notify_url);
		builder.append(", ret_url=");
		builder.append(ret_url);
		builder.append(", mer_trace=");
		builder.append(mer_trace);
		builder.append(", trade_no=");
		builder.append(trade_no);
		builder.append(", pay_type=");
		builder.append(pay_type);
		builder.append(", auth_code=");
		builder.append(auth_code);
		builder.append(", amount=");
		builder.append(amount);
		builder.append(", subject=");
		builder.append(subject);
		builder.append(", remark=");
		builder.append(remark);
		builder.append(", goods_id=");
		builder.append(goods_id);
		builder.append(", goods_inf=");
		builder.append(goods_inf);
		builder.append(", store_id=");
		builder.append(store_id);
		builder.append(", operator_id=");
		builder.append(operator_id);
		builder.append(", discountable_amount=");
		builder.append(discountable_amount);
		builder.append(", undiscountable_amount=");
		builder.append(undiscountable_amount);
		builder.append("]");
		return builder.toString();
	}
	
	
	
	
	
}
